package com.lai.hospital.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.vo
 * @Description: 微信登录vo
 * @date Date : 2023年01月17日 1:23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "微信登录vo")
public class WeiXinLoginVO {

    @NotBlank(message = "昵称不能为空")
    @ApiModelProperty(name = "nickName",value = "昵称",dataType = "String")
    private String nickName;

    @NotBlank(message = "头像不能为空")
    @ApiModelProperty(name = "avatar",value = "头像",dataType = "String")
    private String avatar;

    @NotBlank(message = "openId不能为空")
    @ApiModelProperty(name = "openId",value = "openId",dataType = "String")
    private String openId;

}
